x86/vMSI-X: add valid bits for read acceleration
authorJan Beulich <jbeulich@suse.com>
Tue, 14 Apr 2015 14:51:18 +0000 (16:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Apr 2015 14:51:18 +0000 (16:51 +0200)
commitdf9f5676b3711c95127d44e871ad7ca38d6ed28a
tree2add2895143f0b53e41699bac9012ca2f62e5378
parent70a3cbb8c9cb17a61fa25c48ba3d7b44fd059c90
x86/vMSI-X: add valid bits for read acceleration

Again because Xen doesn't get to see all guest writes, it shouldn't
serve reads from its cache before having seen a write to the respective
address.

Also use DECLARE_BITMAP() in a related field declaration instead of
open coding it.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/vmsi.c